import service from "../utils/request.js";

export function adminLogin(data){
    return service({
        url:'admin/user/login',
        method:'post',
        data
    })
}

export function test(){
    return service({
        url:'admin/user/test2',
        method:'get'
    })
}

export function find(currentPage,pageSize){
    return service({
        url:`admin/user/find/${currentPage}/${pageSize}`,
        method:'post'
    })
}